package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 t_cf_termination
 *
 * @author wish
 * @date 2021-06-18
 */
public class TCfTermination extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 商户ID
     */
    @Excel(name = "商户ID")
    private Long businessId;

    /**
     * 部门ID
     */
    @Excel(name = "部门ID")
    private Long deptId;

    /**
     * 部门编号
     */
    @Excel(name = "部门编号")
    private String deptNo;

    /**
     * 解约协议编号
     */
    @Excel(name = "解约协议编号")
    private String cfTerminationNo;

    /**
     * 外部协议编号（线下解约协议号）
     */
    @Excel(name = "外部协议编号", readConverterExp = "线=下解约协议号")
    private String outTerminationNo;

    /**
     * 出房合同ID
     */
    @Excel(name = "出房合同ID")
    private Long cfContractId;

    /**
     * 出房合同编号
     */
    @Excel(name = "出房合同编号")
    private String cfContractNo;

    /**
     * 楼盘ID
     */
    @Excel(name = "楼盘ID")
    private Long premiseId;

    /**
     * 小区(使用楼盘名)
     */
    @Excel(name = "小区(使用楼盘名)")
    private String premiseName;

    /**
     * 房产编号
     */
    @Excel(name = "房产编号")
    private String houseId;

    /**
     * 房产信息
     */
    @Excel(name = "房产信息")
    private String houseName;

    /**
     * 房源ID
     */
    @Excel(name = "房源ID")
    private String roomId;

    /**
     * 房源编号
     */
    @Excel(name = "房源编号")
    private String roomCode;

    /**
     * 房源名称
     */
    @Excel(name = "房源名称")
    private String roomName;

    /**
     * 租客ID
     */
    @Excel(name = "租客ID")
    private Long tenantId;

    /**
     * 租客姓名
     */
    @Excel(name = "租客姓名")
    private String tenantName;

    /**
     * 租客联系方式
     */
    @Excel(name = "租客联系方式")
    private String tenantPhone;

    /**
     * 解约类型（1:合同到期 2：租客提前解约 3：我方退租解约，4：其他）
     */
    @Excel(name = "解约类型", readConverterExp = "1=:合同到期,2=：租客提前解约,3=：我方退租解约，4：其他")
    private String terminationType;

    /**
     * 解约类型其他（解约类型为其它的时候）
     */
    @Excel(name = "解约类型其他", readConverterExp = "解=约类型为其它的时候")
    private String terminationOtherType;

    /**
     * 物业交割日期
     */
    private String reserveTime;

    private String wyjgDate;

    /**
     * 解约日期（协议签订日期，暂时同录入日期一样）
     */
    @Excel(name = "解约日期", readConverterExp = "协=议签订日期，暂时同录入日期一样")
    private String terminationDate;

    /**
     * 合同实际截止日（预留字段，暂时用解约日期）
     */
    @Excel(name = "合同实际截止日", readConverterExp = "预=留字段，暂时用解约日期")
    private String realTerminationDate;

    /**
     * 审核日期（目前无审核，暂时用录入日期）
     */
    @Excel(name = "审核日期", readConverterExp = "目=前无审核，暂时用录入日期")
    private String auditDate;

    /**
     * 结算合计(应退)， 为负数的时候是应收
     */
    @Excel(name = "结算合计(应退)， 为负数的时候是应收")
    private BigDecimal finalStatement;

    /**
     * 录入人ID
     */
    @Excel(name = "录入人ID")
    private Long inputUserId;

    /**
     * 录入人姓名
     */
    @Excel(name = "录入人姓名")
    private String inputUserName;

    /**
     * 录入日期
     */
    private String inputDate;

    /**
     * 预留字段1
     */
    @Excel(name = "预留字段1")
    private Long reserve1;

    /**
     * 预留字段2
     */
    @Excel(name = "预留字段2")
    private Long reserve2;

    /**
     * 预留字段3
     */
    @Excel(name = "预留字段3")
    private String reserve3;

    /**
     * 预留字段4
     */
    @Excel(name = "预留字段4")
    private String reserve4;

    /**
     * 预留字段5
     */
    @Excel(name = "预留字段5")
    private String reserve5;

    /**
     * 删除标识：0:未删除，1：删除
     */
    @Excel(name = "删除标识：0:未删除，1：删除")
    private Integer delFlg;

    /**
     * 创建用户ID
     */
    @Excel(name = "创建用户ID")
    private Long createUserid;

    /**
     * 更新用户ID
     */
    @Excel(name = "更新用户ID")
    private Long updateUserid;

    @Override
    public String toString() {
        return "TCfTermination{" +
                "id=" + id +
                ", businessId=" + businessId +
                ", deptId=" + deptId +
                ", deptNo='" + deptNo + '\'' +
                ", cfTerminationNo='" + cfTerminationNo + '\'' +
                ", outTerminationNo='" + outTerminationNo + '\'' +
                ", cfContractId=" + cfContractId +
                ", cfContractNo='" + cfContractNo + '\'' +
                ", premiseId=" + premiseId +
                ", premiseName='" + premiseName + '\'' +
                ", houseId='" + houseId + '\'' +
                ", houseName='" + houseName + '\'' +
                ", roomId='" + roomId + '\'' +
                ", roomCode='" + roomCode + '\'' +
                ", roomName='" + roomName + '\'' +
                ", tenantId=" + tenantId +
                ", tenantName='" + tenantName + '\'' +
                ", tenantPhone='" + tenantPhone + '\'' +
                ", terminationType='" + terminationType + '\'' +
                ", terminationOtherType='" + terminationOtherType + '\'' +
                ", reserveTime='" + reserveTime + '\'' +
                ", wyjgDate='" + wyjgDate + '\'' +
                ", terminationDate='" + terminationDate + '\'' +
                ", realTerminationDate='" + realTerminationDate + '\'' +
                ", auditDate='" + auditDate + '\'' +
                ", finalStatement=" + finalStatement +
                ", inputUserId=" + inputUserId +
                ", inputUserName='" + inputUserName + '\'' +
                ", inputDate='" + inputDate + '\'' +
                ", reserve1=" + reserve1 +
                ", reserve2=" + reserve2 +
                ", reserve3='" + reserve3 + '\'' +
                ", reserve4='" + reserve4 + '\'' +
                ", reserve5='" + reserve5 + '\'' +
                ", delFlg=" + delFlg +
                ", createUserid=" + createUserid +
                ", updateUserid=" + updateUserid +
                '}';
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Long businessId) {
        this.businessId = businessId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getDeptNo() {
        return deptNo;
    }

    public void setDeptNo(String deptNo) {
        this.deptNo = deptNo;
    }

    public String getCfTerminationNo() {
        return cfTerminationNo;
    }

    public void setCfTerminationNo(String cfTerminationNo) {
        this.cfTerminationNo = cfTerminationNo;
    }

    public String getOutTerminationNo() {
        return outTerminationNo;
    }

    public void setOutTerminationNo(String outTerminationNo) {
        this.outTerminationNo = outTerminationNo;
    }

    public Long getCfContractId() {
        return cfContractId;
    }

    public void setCfContractId(Long cfContractId) {
        this.cfContractId = cfContractId;
    }

    public String getCfContractNo() {
        return cfContractNo;
    }

    public void setCfContractNo(String cfContractNo) {
        this.cfContractNo = cfContractNo;
    }

    public Long getPremiseId() {
        return premiseId;
    }

    public void setPremiseId(Long premiseId) {
        this.premiseId = premiseId;
    }

    public String getPremiseName() {
        return premiseName;
    }

    public void setPremiseName(String premiseName) {
        this.premiseName = premiseName;
    }

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }

    public String getHouseName() {
        return houseName;
    }

    public void setHouseName(String houseName) {
        this.houseName = houseName;
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public String getRoomCode() {
        return roomCode;
    }

    public void setRoomCode(String roomCode) {
        this.roomCode = roomCode;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    public String getTenantName() {
        return tenantName;
    }

    public void setTenantName(String tenantName) {
        this.tenantName = tenantName;
    }

    public String getTenantPhone() {
        return tenantPhone;
    }

    public void setTenantPhone(String tenantPhone) {
        this.tenantPhone = tenantPhone;
    }

    public String getTerminationType() {
        return terminationType;
    }

    public void setTerminationType(String terminationType) {
        this.terminationType = terminationType;
    }

    public String getTerminationOtherType() {
        return terminationOtherType;
    }

    public void setTerminationOtherType(String terminationOtherType) {
        this.terminationOtherType = terminationOtherType;
    }

    public String getReserveTime() {
        return reserveTime;
    }

    public void setReserveTime(String reserveTime) {
        this.reserveTime = reserveTime;
    }

    public String getWyjgDate() {
        return wyjgDate;
    }

    public void setWyjgDate(String wyjgDate) {
        this.wyjgDate = wyjgDate;
    }

    public String getTerminationDate() {
        return terminationDate;
    }

    public void setTerminationDate(String terminationDate) {
        this.terminationDate = terminationDate;
    }

    public String getRealTerminationDate() {
        return realTerminationDate;
    }

    public void setRealTerminationDate(String realTerminationDate) {
        this.realTerminationDate = realTerminationDate;
    }

    public String getAuditDate() {
        return auditDate;
    }

    public void setAuditDate(String auditDate) {
        this.auditDate = auditDate;
    }

    public BigDecimal getFinalStatement() {
        return finalStatement;
    }

    public void setFinalStatement(BigDecimal finalStatement) {
        this.finalStatement = finalStatement;
    }

    public Long getInputUserId() {
        return inputUserId;
    }

    public void setInputUserId(Long inputUserId) {
        this.inputUserId = inputUserId;
    }

    public String getInputUserName() {
        return inputUserName;
    }

    public void setInputUserName(String inputUserName) {
        this.inputUserName = inputUserName;
    }

    public String getInputDate() {
        return inputDate;
    }

    public void setInputDate(String inputDate) {
        this.inputDate = inputDate;
    }

    public Long getReserve1() {
        return reserve1;
    }

    public void setReserve1(Long reserve1) {
        this.reserve1 = reserve1;
    }

    public Long getReserve2() {
        return reserve2;
    }

    public void setReserve2(Long reserve2) {
        this.reserve2 = reserve2;
    }

    public String getReserve3() {
        return reserve3;
    }

    public void setReserve3(String reserve3) {
        this.reserve3 = reserve3;
    }

    public String getReserve4() {
        return reserve4;
    }

    public void setReserve4(String reserve4) {
        this.reserve4 = reserve4;
    }

    public String getReserve5() {
        return reserve5;
    }

    public void setReserve5(String reserve5) {
        this.reserve5 = reserve5;
    }

    public Integer getDelFlg() {
        return delFlg;
    }

    public void setDelFlg(Integer delFlg) {
        this.delFlg = delFlg;
    }

    public Long getCreateUserid() {
        return createUserid;
    }

    public void setCreateUserid(Long createUserid) {
        this.createUserid = createUserid;
    }

    public Long getUpdateUserid() {
        return updateUserid;
    }

    public void setUpdateUserid(Long updateUserid) {
        this.updateUserid = updateUserid;
    }
}
